package com.functionx.dto;

public class AreaDto<T> {

    private long stamp;

    private volatile T data;

    public AreaDto(long stamp, T data) {
        this.stamp = stamp;
        this.data = data;
    }

    public long getStamp() {
        return stamp;
    }

    public void setStamp(long stamp) {
        this.stamp = stamp;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
